﻿namespace CSharpPro._1027;

public class Demo
{
    public void TestPrint()
    {
        Student student = new Student();
        student.Id = 1;
        student.Name = "张三";
        student.Age = 18;
        student.Study();
        Console.WriteLine($"学生信息：Id={student.Id},姓名={student.Name},年龄={student.Age}");
    }

    public int Add(int a, int b)
    {
        return a + b;
    }

    public double Add(double a, double b)
    {
        return a + b;
    }

    public double Add(int a, double b)
    {
        return a + b;
    }

    public int Add(int a, int b, int c)
    {
        return a + b + c;
    }
}